﻿using System;
namespace WorkerService.Model.Model
{
    /// <summary>
    /// Sys_Device:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
	public partial class Sys_Device
	{
		public Sys_Device()
		{ }
		#region Model
		private int _id;
		private int _code;
		private string _name;
		private string _type;
		private DateTime? _createtime;
		private string _createby;
		private DateTime? _modifytime;
		private string _tablename;
		private bool _isenv;
		private int _voltage;
		private string _collectiontype = "未知";
		private string _groupname;
		private string _abbreviation;
		private string _dtscode;
		/// <summary>
		/// 
		/// </summary>
		public int Id
		{
			set { _id = value; }
			get { return _id; }
		}
		/// <summary>
		/// 
		/// </summary>
		public int Code
		{
			set { _code = value; }
			get { return _code; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string Name
		{
			set { _name = value; }
			get { return _name; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string Type
		{
			set { _type = value; }
			get { return _type; }
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateTime
		{
			set { _createtime = value; }
			get { return _createtime; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string CreateBy
		{
			set { _createby = value; }
			get { return _createby; }
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? ModifyTime
		{
			set { _modifytime = value; }
			get { return _modifytime; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string TableName
		{
			set { _tablename = value; }
			get { return _tablename; }
		}
		/// <summary>
		/// 
		/// </summary>
		public bool IsEnv
		{
			set { _isenv = value; }
			get { return _isenv; }
		}
		/// <summary>
		/// 
		/// </summary>
		public int Voltage
		{
			set { _voltage = value; }
			get { return _voltage; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string CollectionType
		{
			set { _collectiontype = value; }
			get { return _collectiontype; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string GroupName
		{
			set { _groupname = value; }
			get { return _groupname; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string Abbreviation
		{
			set { _abbreviation = value; }
			get { return _abbreviation; }
		}
		/// <summary>
		/// 
		/// </summary>
		public string DtsCode
		{
			set { _dtscode = value; }
			get { return _dtscode; }
		}
		#endregion Model

	}
}

